package com.company;

public class Monitor extends BaseThread{

    public Monitor(String threadName, MutiBufferQueue queue) {
        super(threadName, queue);
    }
    @Override
    public void run() {
        try {
            while (true){
                System.out.println(this.mQueue);
                Thread.sleep(0);
            }
        }
        catch (InterruptedException e){
            System.out.println(this.mQueue+"  "+e.getMessage());
        }
    }
}
